package capstoneproject.dudiachi.Main;

import android.app.AlertDialog.Builder;
import android.content.Context;
import android.preference.DialogPreference;
import android.util.AttributeSet;

public class QuestionPref extends DialogPreference{

	public QuestionPref(Context context, AttributeSet attrs) {
		super(context, attrs);
		setDialogLayoutResource(R.xml.question_pref);
		setNegativeButtonText("Close");
	}

	@Override
	protected void onPrepareDialogBuilder(Builder builder) {
		super.onPrepareDialogBuilder(builder);
		builder.setPositiveButton(null, null);
	}}
